import requests

# 1) 利用session发送登录请求
url_login = 'https://gitee.com/login'

headers = {
    "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.102 Safari/537.36"
}
data ={

}


session = requests.session()
r = session.post(url_login, headers=headers, data=data)
print(r.status_code)
print(r.content.decode())


# 2) 利用session发送，登录后才能
